/**
 * <p>Copyright (c) 2011 深圳市鹏途信息技术有限公司 </p>
 * <p>				   All right reserved. 		     </p>
 * 
 * <p>项目名称 ： 	东莞交通工程质量监督综合业务系统        </p>
 * <p>创建者   :	liuyang 
 * 
 * <p>描   述  :   MarineAppraisal.java for com.pengtu.entity.business.marine.detection    </p>
 * 
 * <p>最后修改 : $: 2011-10-9-上午9:55:49 v 1.0.0	 liuyang   $     </p>
 * 
*/

package com.pengtu.entity.business.marine.detection;

import javax.persistence.CascadeType;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

import com.pengtu.entity.business.BasicReport;

/**
 * 
 * MarineAppraisal
 * 
 * 2011-10-9 上午9:55:49
 * 
 * @version 1.0.0
 * 
 */
@Entity
@Table(name = "T_Q_CASE_MARINE_APPRAISAL")
public class MarineAppraisal extends BasicReport{

	/**
	 * serialVersionUID:TODO
	 *
	 * @since 1.0.0
	 */
	
	private static final long serialVersionUID = 1L;
	
	private FlowMarine flowMarine;//流程ID
	private String did;//发文ID
	private String cid;//合同段
	/**
	 * flowMarine
	 *
	 * @return  the flowMarine
	 * @since   1.0.0
	 */
	@ManyToOne(cascade = CascadeType.REFRESH, fetch = FetchType.LAZY)
	@JoinColumn(name = "FID")
	public FlowMarine getFlowMarine() {
		return flowMarine;
	}
	/**
	 * @param flowMarine the flowMarine to set
	 */
	public void setFlowMarine(FlowMarine flowMarine) {
		this.flowMarine = flowMarine;
	}
	/**
	 * did
	 *
	 * @return  the did
	 * @since   1.0.0
	 */
	@Column(name="DID")
	public String getDid() {
		return did;
	}
	/**
	 * @param did the did to set
	 */
	public void setDid(String did) {
		this.did = did;
	}
	/**
	 * cid
	 *
	 * @return  the cid
	 * @since   1.0.0
	 */
	@Column(name="CID")
	public String getCid() {
		return cid;
	}
	/**
	 * @param cid the cid to set
	 */
	public void setCid(String cid) {
		this.cid = cid;
	}

}
